package com.avic.rong.bean.product;

import java.util.List;

/**
 * Creater: Created by wangyz on 2019/9/9.
 * Email: 936804097@qq.com
 */
public class SoftwareBean {

    private List<AttrBean> allAttr;

    private List<CategoryBean> category;


    public List<AttrBean> getAllAttr() {
        return allAttr;
    }

    public void setAllAttr(List<AttrBean> allAttr) {
        this.allAttr = allAttr;
    }

    public List<CategoryBean> getCategory() {
        return category;
    }

    public void setCategory(List<CategoryBean> category) {
        this.category = category;
    }

    public static class CategoryBean {
        private int catId;
        private String catName;
        private List<CategoryBean> subCategory;

        public int getCatId() {
            return catId;
        }

        public void setCatId(int catId) {
            this.catId = catId;
        }

        public String getCatName() {
            return catName;
        }

        public void setCatName(String catName) {
            this.catName = catName;
        }

        public List<CategoryBean> getSubCategory() {
            return subCategory;
        }

        public void setSubCategory(List<CategoryBean> subCategory) {
            this.subCategory = subCategory;
        }
    }


    public static class AttrBean {


        /**
         * defaultUnit :
         * isFilter : 0
         * sortOrder : 1
         * typeId : 18
         * id : 29
         * attrValues : ["在线使用","下载使用","光盘邮寄","线下邮寄","上门服务"]
         * attrName : 使用方式
         * attrType : 1
         */

        private String defaultUnit;
        private int isFilter;
        private int sortOrder;
        private int typeId;
        private int id;
        private String attrName;
        private int attrType;
        private List<String> attrValues;

        public String getDefaultUnit() {
            return defaultUnit;
        }

        public void setDefaultUnit(String defaultUnit) {
            this.defaultUnit = defaultUnit;
        }

        public int getIsFilter() {
            return isFilter;
        }

        public void setIsFilter(int isFilter) {
            this.isFilter = isFilter;
        }

        public int getSortOrder() {
            return sortOrder;
        }

        public void setSortOrder(int sortOrder) {
            this.sortOrder = sortOrder;
        }

        public int getTypeId() {
            return typeId;
        }

        public void setTypeId(int typeId) {
            this.typeId = typeId;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getAttrName() {
            return attrName;
        }

        public void setAttrName(String attrName) {
            this.attrName = attrName;
        }

        public int getAttrType() {
            return attrType;
        }

        public void setAttrType(int attrType) {
            this.attrType = attrType;
        }

        public List<String> getAttrValues() {
            return attrValues;
        }

        public void setAttrValues(List<String> attrValues) {
            this.attrValues = attrValues;
        }
    }

}
